MAINTAINERCLEANFILES = Makefile.in

check_PROGRAMS = test01 test02_client test02_server

noinst_LTLIBRARIES = libtest_common.la

common_cflags = \
-I. \
-I$(top_srcdir)/eix/include \
-I$(top_builddir)/eix/include \
@EIX_CFLAGS@

common_libs = \
$(top_builddir)/eix/lib/libeix.la \
$(top_builddir)/eix/tests/libtest_common.la \
@EIX_LIBS@

libtest_common_la_SOURCES = \
test_common.c

libtest_common_la_CPPFLAGS = \
-I. \
-I$(top_srcdir)/eix/include \
-I$(top_builddir)/eix/include \
@EIX_CFLAGS@

libtest_common_la_LIBADD = \
$(top_builddir)/eix/lib/libeix.la \
@EIX_LIBSS@

test01_SOURCES = test01.c
test01_CPPFLAGS = $(common_cflags)
test01_LDADD = $(common_libs)

test02_client_SOURCES = test02_client.c
test02_client_CPPFLAGS = $(common_cflags)
test02_client_LDADD = $(common_libs)

test02_server_SOURCES = test02_server.c
test02_server_CPPFLAGS = $(common_cflags)
test02_server_LDADD = $(common_libs)
